package com.sp.system.user.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sp.system.user.core.entity.Menu;
import com.sp.system.user.core.entity.Role;
import com.sp.system.user.core.entity.UserRole;

import java.util.List;

public interface IRoleService extends IService<Role> {

    List<Role> queryRoleByUserId(UserRole role);

    List<Role> queryRoleByMenuUrl(Menu menu);
}
